<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {include file='Public:head_in' /}
</head>
<body>

<div class="tab-pane" id="tab-second">
    <form id="add_form" method="post" action="{:url('admin/Ad/edit')}" class="form-horizontal">
        <div class="panel-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-md-3 control-label">广告位置</label>
                        <div class="col-md-9">
                            <input name="name" type="text" class="form-control" value="{$data.name}"/>
                            <input name="id" type="text" class="form-control" value="{$data.id}"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">宽度</label>
                        <div class="col-md-9">
                            <input name="width" type="text" class="form-control" value="{$data.width}"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">高度</label>
                        <div class="col-md-9">
                            <input name="height" type="text" class="form-control" value="{$data.height}"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">描述</label>
                        <div class="col-md-9">
                            <input name="describe" type="text" class="form-control" value="{$data.describe}"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="panel-footer">
            <button class="btn btn-info pull-right">保存修改
                <span class="fa fa-floppy-o fa-right"></span>
            </button>
        </div>
    </form>
</div>
</body>
</html>